package org.colcon.web.client.ui.link;

import org.colcon.web.client.Collective_Congress;
import org.colcon.web.client.ui.ClickablePanel;

public class LogoutLink extends ClickablePanel
{
	public LogoutLink(Collective_Congress client)
	{
		super(client, "user-item", "logout");
	}
	
	public void click()
	{
		getClient().logout();
		getClient().refresh();
	}
}
